<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-username" data-rule="required" readonly class="form-control" name="row[username]" type="text" value="{$row.username|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tel')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tel" class="form-control" readonly name="row[tel]" type="text" value="{$row.tel|htmlentities}">
        </div>
    </div>
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Add_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-add_time" data-rule="required" readonly class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[add_time]" type="text" value="{:$row.add_time?datetime($row.add_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Edit_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-edit_time" class="form-control datetimepicker" readonly data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[edit_time]" type="text" value="{:$row.edit_time?datetime($row.edit_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <!-- <input id="c-image" data-rule="required" class="form-control" size="50" name="row[image]" type="text" value="{$row.image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-image" class="btn btn-danger faupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> </button></span>
                    <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> </button></span>
                </div>
                <span class="msg-box n-right" for="c-image"></span> -->
            </div>
            <ul class="row list-inline faupload-preview" id="p-image">
                <li class="col-xs-3"><a href="{$row.image|htmlentities}" data-url="{$row.image|htmlentities}" target="_blank" class="thumbnail"><img src="{$row.image|htmlentities}" onerror="this.src='{$row.image|htmlentities}';this.onerror=null;" class="img-responsive"></a></li>
            </ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('行业名称')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-industry_id" data-rule="required" readonly disabled data-source="industry/index" class="form-control selectpage" name="row[industry_id]" type="text" value="{$row.industry_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('公司类型')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-company_typeid" data-rule="required" readonly disabled data-source="companytype/index" class="form-control selectpage" name="row[company_typeid]" type="text" value="{$row.company_typeid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('职位')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-position_id" data-rule="required" readonly disabled data-source="position/index" class="form-control selectpage" name="row[position_id]" type="text" value="{$row.position_id|htmlentities}">
        </div>
    </div>
    
    
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Authen_type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-authen_type" class="form-control selectpicker" readonly disabled name="row[authen_type]">
                {foreach name="authenTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.authen_type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('End_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-end_time" class="form-control datetimepicker" readonly disabled data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[end_time]" type="text" value="{:$row.end_time?datetime($row.end_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Deposit_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deposit_price" class="form-control" step="0.01" readonly disabled name="row[deposit_price]" type="number" value="{$row.deposit_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_chao_group')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-is_chao_group" class="form-control selectpicker"  name="row[is_chao_group]">
                {foreach name="isChaoGroupList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.is_chao_group"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_chao_kf')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-is_chao_kf" class="form-control selectpicker" name="row[is_chao_kf]">
                {foreach name="isChaoKfList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.is_chao_kf"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" readonly disabled type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    {if condition="$row['authen_type'] eq 2"}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Logo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-logo" class="form-control" name="row[logo]" readonly disabled type="text" value="{$row.logo|htmlentities}">
        </div>
    </div>
    {/if}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Province')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-province" class="form-control" name="row[province]" readonly disabled type="text" value="{$row.province|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('City')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-city" class="form-control" name="row[city]" readonly disabled type="text" value="{$row.city|htmlentities}">
        </div>
    </div>
    <div class="form-group"  style="display: none;">
        <label class="control-label col-xs-12 col-sm-2">{:__('Area')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-area" class="form-control" name="row[area]" readonly disabled type="text" value="{$row.area|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address" class="form-control" name="row[address]" readonly disabled type="text" value="{$row.address|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zhuying')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zhuying" class="form-control" name="row[zhuying]" readonly disabled type="text" value="{$row.zhuying|htmlentities}">
        </div>
    </div>
    {if condition="$row['authen_type'] eq 2"}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num" class="form-control" name="row[num]" readonly disabled type="text" value="{$row.num|htmlentities}">
        </div>
    </div>
    {/if}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contact_name" class="form-control" name="row[contact_name]" readonly disabled type="text" value="{$row.contact_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact_tel')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contact_tel" class="form-control" name="row[contact_tel]" readonly disabled type="text" value="{$row.contact_tel|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Company_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <!-- <input id="c-company_image" class="form-control" size="50" name="row[company_image]" type="text" value="{$row.company_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-company_image" class="btn btn-danger faupload" data-input-id="c-company_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-company_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-company_image" class="btn btn-primary fachoose" data-input-id="c-company_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div> -->
                <span class="msg-box n-right" for="c-company_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-company_image">
                <li class="col-xs-3"><a href="{$row.company_image|htmlentities}" data-url="{$row.company_image|htmlentities}" target="_blank" class="thumbnail"><img src="{$row.company_image|htmlentities}" onerror="this.src='{$row.company_image|htmlentities}';this.onerror=null;" class="img-responsive"></a></li>
            </ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_card1_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <!-- <input id="c-id_card1_image" class="form-control" size="50" name="row[id_card1_image]" type="text" value="{$row.id_card1_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-id_card1_image" class="btn btn-danger faupload" data-input-id="c-id_card1_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-id_card1_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-id_card1_image" class="btn btn-primary fachoose" data-input-id="c-id_card1_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div> -->
                <span class="msg-box n-right" for="c-id_card1_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-id_card1_image">
                <li class="col-xs-3"><a href="{$row.id_card1_image|htmlentities}" data-url="{$row.id_card1_image|htmlentities}" target="_blank" class="thumbnail"><img src="{$row.id_card1_image|htmlentities}" onerror="this.src='{$row.id_card1_image|htmlentities}';this.onerror=null;" class="img-responsive"></a></li>
            </ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_card2_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <!-- <input id="c-id_card2_image" class="form-control" size="50" name="row[id_card2_image]" type="text" value="{$row.id_card2_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-id_card2_image" class="btn btn-danger faupload" data-input-id="c-id_card2_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-id_card2_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-id_card2_image" class="btn btn-primary fachoose" data-input-id="c-id_card2_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div> -->
                <span class="msg-box n-right" for="c-id_card2_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-id_card2_image">
                <li class="col-xs-3"><a href="{$row.id_card2_image|htmlentities}" data-url="{$row.id_card2_image|htmlentities}" target="_blank" class="thumbnail"><img src="{$row.id_card2_image|htmlentities}" onerror="this.src='{$row.id_card2_image|htmlentities}';this.onerror=null;" class="img-responsive"></a></li>
            </ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hand_card_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <!-- <input id="c-hand_card_image" class="form-control" size="50" name="row[hand_card_image]" type="text" value="{$row.hand_card_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-hand_card_image" class="btn btn-danger faupload" data-input-id="c-hand_card_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-hand_card_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-hand_card_image" class="btn btn-primary fachoose" data-input-id="c-hand_card_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div> -->
                <span class="msg-box n-right" for="c-hand_card_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-hand_card_image">
                <li class="col-xs-3"><a href="{$row.hand_card_image|htmlentities}" data-url="{$row.hand_card_image|htmlentities}" target="_blank" class="thumbnail"><img src="{$row.hand_card_image|htmlentities}" onerror="this.src='{$row.hand_card_image|htmlentities}';this.onerror=null;" class="img-responsive"></a></li>
            </ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wx_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <!-- <input id="c-wx_image" class="form-control" size="50" name="row[wx_image]" type="text" value="{$row.wx_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-wx_image" class="btn btn-danger faupload" data-input-id="c-wx_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-wx_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-wx_image" class="btn btn-primary fachoose" data-input-id="c-wx_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div> -->
                <span class="msg-box n-right" for="c-wx_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-wx_image">
                <li class="col-xs-3"><a href="{$row.wx_image|htmlentities}" data-url="{$row.wx_image|htmlentities}" target="_blank" class="thumbnail"><img src="{$row.wx_image|htmlentities}" onerror="this.src='{$row.wx_image|htmlentities}';this.onerror=null;" class="img-responsive"></a></li>
            </ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Background_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <!-- <input id="c-background_image" class="form-control" size="50" name="row[background_image]" type="text" value="{$row.background_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-background_image" class="btn btn-danger faupload" data-input-id="c-background_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-background_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-background_image" class="btn btn-primary fachoose" data-input-id="c-background_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div> -->
                <span class="msg-box n-right" for="c-background_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-background_image">
                <li class="col-xs-3"><a href="{$row.background_image|htmlentities}" data-url="{$row.background_image|htmlentities}" target="_blank" class="thumbnail"><img src="{$row.background_image|htmlentities}" onerror="this.src='{$row.background_image|htmlentities}';this.onerror=null;" class="img-responsive"></a></li>
            </ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remark" class="form-control" name="row[remark]" type="text" value="{$row.remark|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Authen')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-authen" class="form-control selectpicker" readonly disabled name="row[authen]">
                {foreach name="authenList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.authen"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_jin')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-is_jin" class="form-control selectpicker" name="row[is_jin]">
                {foreach name="isJinList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.is_jin"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Logintime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-logintime" class="form-control datetimepicker" readonly disabled data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[logintime]" type="text" value="{:$row.logintime?datetime($row.logintime):''}">
        </div>
    </div>
    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Add_authen_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-add_authen_time" class="form-control datetimepicker" readonly disabled data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[add_authen_time]" type="text" value="{:$row.add_authen_time?datetime($row.add_authen_time):''}">
        </div>
    </div> -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('注销审核状态')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <!-- <select  id="c-logout" class="form-control selectpicker" readonly disabled name="row[logout]">
                {foreach name="logoutList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.logout"}selected{/in}>{$vo}</option>
                {/foreach}
            </select> -->
            <input class="form-control" readonly disabled type="text" {if condition="$row['logout'] eq '0'"} value="未认证" {/if}
            {if condition="$row['logout'] eq '1'"} value="审核中" {/if} 
            {if condition="$row['logout'] eq '2'"} value="已通过" {/if}
            {if condition="$row['logout'] eq '3'"} value="未通过" {/if}>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Add_log_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-add_log_time" class="form-control datetimepicker" readonly disabled data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[add_log_time]" type="text" value="{:$row.add_log_time?datetime($row.add_log_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Logout')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-logout" class="form-control selectpicker"  name="row[logout]">
                <option value="2">通过</option>
                <option value="3">拒绝</option>
            </select>

        </div>
    </div>
    <div class="form-group" style="display: none;" id="reason">
        <label class="control-label col-xs-12 col-sm-2">{:__('Logout_reason')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-logout_reason" class="form-control" name="row[logout_reason]"  type="text" value="{$row.logout_reason|htmlentities}" autocomplete="off">
            <div style="height:110px;">
                <div id="reason_input_select" class="input_select" style="display: none;">
                    <ul>
                        {volist name="reason_list" id="rv"}
                        <li class="reason_input_select_li">{$rv.reason}</li>
                        {/volist}
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <style type="text/css">
        .input_select{
            width: 100%;
            max-height: 100px;
            overflow-y: auto;
            margin-top: 10px;
            background-color: #ffffff;
            box-shadow: 2px 2px 10px 0px #f1f1f1;
        }
        .input_select ul{
            width: 100%;
            padding: 0;
            margin: 0;
        }
        .input_select ul li{
            width: 100%;
            padding: 5px;
            font-size: 15px;
            color: #000000;
            list-style-type: none;
            cursor: pointer;
        }
        .input_select ul li:hover{
            color: #217EFE;
            background-color: rgba(225,227,233,0.8);
        }
    </style>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
